package org.example.springcloud.event;

import org.springframework.context.ApplicationEvent;

public class DataEvent extends ApplicationEvent {

    private String password;

    public DataEvent(Object source, String password) {
        super(source);
        this.password = password;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
